use crate::app::App;
mod app;
mod components;
mod layout;
mod store;
mod utils;
mod view;
use dioxus::desktop::{tao, tao::dpi::LogicalSize};
fn main() {
    let window = tao::window::WindowBuilder::new()
        .with_title("CAM Studio")
        .with_resizable(true)
        .with_transparent(true)
        .with_decorations(true)
        .with_always_on_top(true)
        .with_min_inner_size(LogicalSize::new(1240.0, 850.0));

    // dioxus::launch(App);
    //
    // dioxus_desktop::launch()

    dioxus::LaunchBuilder::new()
        .with_cfg(dioxus::desktop::Config::new().with_window(window))
        .launch(App);
}
